#include "Gyroscope.h"

Gyroscope::Gyroscope() {
    gyroscopeModel = "CH110";
    manufacturer = "NXP";
}

void Gyroscope::print() const {
    cout << "陀螺仪型号: " << gyroscopeModel << endl;
    cout << "厂家: " << manufacturer << endl;
}

void Gyroscope::save(ofstream& outFile) const {
    outFile << gyroscopeModel << endl;
    outFile << manufacturer << endl;
}
